//
//  PushMsgModel.h
//  11-21本地数据库
//
//  Created by xiaofang wang on 2018/11/21.
//  Copyright © 2018年 zhiyuan. All rights reserved.
//  推送消息模型 

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface PushMsgModel : NSObject
/**id类型*/
@property (nonatomic, copy) NSString *messageId;
/**2.消息类型*/
@property (nonatomic, copy) NSString *type;
/**3.标题*/
@property (nonatomic, copy) NSString *title;
/**4.图片*/
@property (nonatomic, copy) NSString *thumbnail;
/**5.资源 用于AWS加载web资源*/
@property (nonatomic, copy) NSString *resource;
/**6.创建日期*/
@property (nonatomic, strong) NSNumber *createTime;
/**7.读写状态*/
@property (nonatomic, assign) BOOL isRead;

@end

NS_ASSUME_NONNULL_END

//参考数据
/**
 {"event":"PUSH","data":{"id":"88e14043-780d-4896-ab39-b0cf1e6e61c7","type":"RICH_TEXT","body":{"title":"helloworld1","thumbnail":"helloworld1","resource":"helloworld1"},"createTime":1541070005122},"describe":""}
 */


/**
 {"event":"PUSH","data":{"id":"5fcabe45-2290-4460-bc08-b5d3ccf1424a","type":"RICH_TEXT","body":{"title":"helloworld[15]","thumbnail":"public/859667e07c984efba2ef521b15b8155c","resource":"public/ca4bd7ba43254a87bd51e9f3436c9737"},"createTime":1547877967057},"describe":""}
 */
